// src/utils/axios.js
import axios from 'axios';

const instance = axios.create({
  baseURL: 'http://localhost:8081/api/auth', // 后端API基础地址
  withCredentials: true // 确保携带凭证
});

export default instance;